﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en" th:replace="main/public :: #public_head">
</head>
<body>
<!--头部-->
<header class="publicHeader" id="public_header">
    <h1>血库管理系统 之 医生管理</h1>
    <div class="publicHeaderR">
        <p><span></span><span style="color: #fff21b"> [[${session.loginUser.d_name}]]</span> 医生, 欢迎你！</p>
        <a th:href="@{/logout}" href="../main/login.html">退出</a>
    </div>
</header>
<!--时间-->
<section class="publicTime" th:replace="main/public :: #public_time">
</section>
<!--主体内容-->
<section class="publicMian ">
    <div class="left" id="public_left">
        <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
        <nav>
            <ul class="list">
                <li th:id="${activeUri == 'patient' ? 'active': ''}"><a
                        th:href="@{/doctors/} + ${session.loginUser.d_id} ">个人信息查看</a></li>
                <li th:id="${activeUri == 'patient' ? 'active': ''}"><a
                        th:href="@{/doctorToPatients/} + ${session.loginUser.d_id} ">查看病人信息</a></li>
                <li th:id="${activeUri == 'patient' ? 'active': ''}"><a
                        th:href="@{/doctorApply/} + ${session.loginUser.d_id} ">申请用血</a></li>
                <li th:id="${activeUri == 'pwd' ? 'active': ''}"><a th:href="@{/doctor/pwd}"
                                                                    href="../main/password.html">密码修改</a></li>
                <li><a th:href="@{/logout}" href="../main/login.html">退出系统</a></li>
            </ul>
        </nav>
    </div>
    <div class="right">
        <div class="wFont">
            <h3 th:text="${session.loginUser.d_name}">Admin</h3><br>
            <p>欢迎来到血库管理系统!</p>

            <span id="hours"></span>
        </div>
    </div>
</section>
<footer class="footer">
    <div style="text-align:center;"><p><a href="http://www.baidu.com/" target="_blank">一个聪明的哈皮 www.baidu.com</a>
        版权所有</p></div>
</footer>

</body>
</html>